<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/jsp/include/taglib.jsp"%>
<%@ include file="/jsp/include/headform.jsp"%>
<%@ page isELIgnored="false" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html lang="en">
<head>
<base href="<%=basePath%>" />
<meta charset="utf-8" />
<title>修志管理系统</title>
<link rel="stylesheet" href="${ctxStatic}/css/list.css" />
<!--[if IE 6.0]>
           <script src="js/iepng.js" type="text/javascript"></script>
           <script type="text/javascript">
                EvPNG.fix('div, ul, ol, img, li, input, span, a, h1, h2, h3, h4, h5, h6, p, dl, dt');
           </script>
       <![endif]-->

<script type="text/javascript">
function panelRefresh(bodyContainer,url){
	window.mainFrame.location.href=url;
}

function selectLeftMenu(leftMenuPId,permissionIds,hasAllPri){
// 	window.frames["navFrame"].location='${ctx}/jsp/page/left.jsp?menuId=' + leftMenuPId;
	window.frames["navFrame"].location='${ctx}/jsp/page/left.jsp?menuId=' + leftMenuPId +'&permissionIds='+permissionIds +'&hasAllPri='+hasAllPri;
	window.frames["mainFrame"].location="${ctx}/jsp/page/background.jsp";
	parent.document.getElementById("contentFrame").cols = "208,10,*,10";
	window.frames["barFrame"].document.getElementById("di").innerHTML="<img src=${ctxStatic}/images/page/bar-left.gif title='隐藏菜单'>"
}

function selectIndividualSetting(){
	window.frames["navFrame"].location="<s:url value='individualSetting.action'/>";
	window.frames["mainFrame"].location="<s:url value='redirect.action?result=${ctx}/jsp/page/background.jsp'/>";
}

function selectLevel4Menu(level4MenuId,url){
	//如无指定公用查询的store,默认为禁止
// 	top.topFrame.setStore(null);
	if(url.length>0){
		window.frames["mainFrame"].location="${ctx}/"+url;
	}else{
		window.frames["mainFrame"].location="${ctx}/jsp/page/background.jsp";
	}
	
}	
</script>
</head>


<%-- 	<input type="hidden" id="loginUser" value='${sessionScope.loginUser.id}'/> --%>
	<frameset border="0" framespacing="0" rows="95,*,4" frameborder="no">
		<frame id="topFrame" name="topFrame" src="${ctx}/jsp/page/top.jsp" scrolling="no">

		<frameset id="contentFrame" border="0" cols="208,10,*,10">
			<frame id="navFrame" name="navFrame" marginheight="1" scrolling="no" src="${ctx}/jsp/page/nav.jsp">
			<frame id="barFrame" title="barFrame" name="barFrame" scrolling="no" src="${ctx}/jsp/page/bar.jsp" noresize="noresize">
			<frameset border="0" framespacing="0" rows="5,*,13,3" frameborder="no">
				<frame id="mainTopFrame" title="mainTopFrame" name="mainTopFrame" src="${ctx}/jsp/page/title.jsp" frameborder="no" noresize="" scrolling="no">
				
				<frameset border="0" framespacing="0" frameborder="no" cols="5,*,5">
					<frame src="${ctx}/jsp/page/mainleft.jsp" noresize="" scrolling="no">
					<frame id="mainFrame" title="mainFrame" name="mainFrame" src="${ctx}/jsp/page/background.jsp">
					<frame src="${ctx}/jsp/page/mainright.jsp" noresize="" scrolling="no">
				</frameset>

				<frame id="bottomFrame" title="bottomFrame" name="bottomFrame" src="${ctx}/jsp/page/mainbottom.jsp" frameborder="no" noresize="" scrolling="no">
			</frameset>
		</frameset>

	</frameset>
	
</html>
